package com.edu.gcu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.edu.gcu.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 系统反馈 sys_feedback
 *
 * @author luomang
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_feedback")
public class SysFeedback extends BaseEntity {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 反馈ID
     */
    @TableId(value = "feedback_id", type = IdType.AUTO)
    private Long feedbackId;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 反馈标题
     */
    @TableField(value = "feedback_title")
    private String feedbackTitle;

    /**
     * 反馈内容
     */
    @TableField(value = "feedback_content")
    private String feedbackContent;

    /**
     * 反馈图片
     */
    @TableField(value = "feedback_image")
    private byte[] feedbackImage;

    /**
     * 反馈时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 处理状态（0未读， 1已读， 2未知）
     */
    @TableField(value = "status")
    private String status;
}
